#ifndef IMAGEBASE_H
#define IMAGEBASE_H


#include <QObject>
#include <QString>
#include <opencv2/opencv.hpp>

using namespace std;
using namespace cv;


enum ImageSourceType { PICTURE, VIDEO };

class ImageBase : public QObject
{
    Q_OBJECT
public:
    explicit ImageBase(QObject *parent = nullptr);

    virtual int getCvMat(Mat &cvMat) = 0;
    virtual int setSource(QString path) = 0;
    virtual QString getSource() = 0;

signals:

public slots:
};

#endif // IMAGEBASE_H
